package com.cxm.homework1.di;

public class UserServiceImpl {
    private UserDaoImpl userDao;
    public void say(){
        System.out.println("service say");
        userDao.say();
    }

    public void setUserDao(UserDaoImpl userDao) {
        this.userDao=userDao;
    }
}
